package com.winit.openapi.tms.builder;

import java.util.HashMap;
import java.util.Map;

import com.winit.tms.spi.booking.vo.WarehouseInBookingOperateLogVo;


public class BookingOperateLogBuilder {

    public static Map<String, Object> buildReturnOperateLog(WarehouseInBookingOperateLogVo vo){
        Map<String, Object> map = new HashMap<String, Object>();
        if (null == vo) {
            return map;
        }
        map.put("id", vo.getId());
        map.put("bookingNo", vo.getBookingNo());
        map.put("operateDate", vo.getOperateDate());
        map.put("operateType", vo.getOperateType());
        map.put("operater", vo.getOperater());
        map.put("operateSource", vo.getOperateSource());
        map.put("remark", vo.getRemark());
        return map;
    }
}
